* {
	box-sizing: border-box;
}

/* ==============
    BB-codes
============= */

.code-outWrapper {
    display: block;
    margin: 0;
    padding: 0;
    border: 1px solid #414d58;
    border-radius: 3px;
}

.code-outWrapper > div {
    padding: 10px 16px;
    font-size: 16px;
    color:#47c0fd;
    background:#2c343d;
}

.code-outWrapper > pre {
    display: flex;
    margin: 0;
    padding: 0;
}

.code-wapper-rees{
    display:block;
    margin:0;
    padding:0;
    border:1px solid #414d58;
    border-radius:3px;
}

.code-wp-title{
    padding:10px 16px;
    font-size:16px;
    color:#47c0fd;
    background:#2c343d;
}

.code-wapper-rees>pre{
    display:flex;
    margin:0;
    padding:0;
}

.code-wapper-rees>pre>code{
    width:100%}

#editor-content a{
    color:#0086dd;
    text-decoration:underline;
}

.spoiler-wrapper{
    display:block;
    margin:0;
    overflow:hidden;
}

.spoiler-wp-title {
    background:#0083ec;
    color:#f1f1f1;
    padding:9px;
    border-radius:3px;
    cursor:pointer;
    font-size:15px;
    width:90px;
    text-align:center;
}

.spoiler-wp-content{
    display:none;
    border:1px solid #414d58;
    border-left:3px solid #0083ec;
    transition:cubic-bezier(0.4, 0, 0.2, 1) 0.26s transform;
    padding:16px;
    margin:6px 0 0 0;
    font-size:15px;
    color:#fff;
    background:#303943
}

#spoiler-onclick{
    display:none;
    overflow:hidden;
    opacity:0;
}

#spoiler-onclick:checked ~ .spoiler-wp-content{
    display:block;
}

 .quote-wrapper-rees {
    border:1px solid #414d58;
    border-left:3px solid #0083ec;
    padding:16px;
    margin:6px 0 0 0;
    font-size:15px;color:#fff;
    background:#303943
}


body {
	font-family: 'Roboto', sans-serif;
	background: rgb(28, 38, 47);
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
    min-width: 320px;
	line-height: 1.4;
	position: relative;
    overflow-x: hidden;
}

#editor-content p, #editor-content pre, #editor-content h1, #editor-content h2, #editor-content h3, #editor-content h4, #editor-content h5, #editor-content h6 ul {
    padding: 2px 0;
    margin-top: 0;
    margin-bottom: 0;
}

input[type="submit"] {
	margin: 16px 0 0 0;
    cursor: pointer;
    padding: 8px 22px;
    outline: none;
    border: 1px solid #414d58;
    border-radius: 3px;
    background: #303943;
    text-transform: uppercase;
    font-size: 15px;
    border-top: 3px solid #0083ec;
}

form {
	max-width: 1000px;
	margin: 20px auto;
	padding: 60px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: rgb(37, 47, 57);
    border-radius: 6px;
	color: #fff;
}

#editor {
	width: 100%;
}

.editor-dark {
	border: 1px solid #414d58;
	border-radius: 3px;
	background: #333f4a;
	border-top: 3px solid #0083ec;
}

.editor-dark #editor-content[placeholder]:empty:before {
	content: attr(placeholder);
	color: #fbfbfb;
}

#editor-content[placeholder]:empty:focus:before {
	content: '';
}

.editor-dark #editor-tools {
    background: #303943;
    /* height: 36px; */
    padding: 0 0 0 12px;
}

.editor-dark .tools-button {
    padding: 1px 0;
    color: #dee5f2;
    position: relative;
}

.editor-dark .tools-button>button {
    /* float: left; */
    z-index: 100;
    height: 32px;
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: all .2s ease 0s;
    border: 0;
    outline: 0;
    line-height: 1;
    text-align: left;
    /* margin: 0 1px;*/
    color: #b8c4e0;
    background: transparent;
}

.editor-dark .tools-button>button:hover {
    background: /*#303943*/ #333f4a;
}

.editor-dark #tools-form-popup {
    position: absolute;
    background: #252f39;
    right: auto;
    bottom: auto;
    list-style: none;
    z-index: 60;
    white-space: nowrap;
    color: #dee5f2;
    border: 1px solid #414d58;
    border-top: 2px solid #0083ec;
    display: none;
    width: 320px;
    border-radius: 10px;
}

.pop-hex-wp {
	width: 232px;
	margin: 1px 0 0 396px;
	padding: 3px;
}

.pop-hex-wp .pop-hex {
    display: inline-block;
    width: 32px;
    cursor: pointer;
    height: 32px;
    position: relative;
    float: left;
    z-index: 1;
    line-height: 0;
}

.pop-hex-wp .pop-hex span {
    overflow: hidden;
    display: none;
}

.tools-button>button>i {
    display: block;
    font-size: 16px;
    width: 16px;
    margin: 8px;
    text-align: center;
}

.editor-dark .tools-button>button>span {
    position: absolute;
    bottom: -90%;
    left: 50%;
    margin-left: -60px;
    float: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 0;
    height: 0;
    line-height: 18px;
    min-width: 30px;
    text-align: center;
    border-radius: 4px;
    padding: 0 9px;
    font-weight: 400;
    display: block;
    overflow: hidden;
    background: #b8c4e0;
    color: #333;
    z-index: 100;
    font-size: 13px;
}
.regulat-div li, span {
    font-size: 0.900rem;
    text-align: justify;
}

.tools-button>button>div {
    display: flex;
    align-items: center;
    margin: 8px;
}

/*.tools-button>button:hover>span {
    width: 120px;
    height: auto;
    line-height: 28px;
}*/

.tools-button>button>div>.fa-caret-down {
    margin: 0 0 0 4px;
}

.editor-dark #tools-form-popup .tools-pop-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #0083ec;
    position: absolute;
    top: -11px;
    left: 50%;
    margin-left: -8px;
    display: inline-block;
}

#tools-form-popup .toolsFP-inp {
    padding: 16px;
}

.editor-dark #tools-form-popup .toolsFP-bth {
    background: #343d47;
    padding: 6px 0;
    display: flex;
    border-radius: 0 0 10px 10px;
    justify-content: center;
    border-top: 1px solid #414d58;
    color: #000;
}

.editor-dark #tools-form-popup .toolsFP-inp input {
    font-size: 13px;
    color: #dee5f2;
    background: #303942;
    border: 1px solid #414d58;
    outline: none;
    font-weight: 400;
    line-height: 1.4;
    padding: 6px;
    display: block;
    border-radius: 6px;
    width: 100%;
    word-wrap: break-word;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.editor-dark #tools-form-popup .toolsFP-bth a, #tools-form-popup .toolsFP-bth button {
    color: #fff;
    border: none;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
    background: linear-gradient(#75acd0, #3a81af);
    font-size: 15px;
    text-align: center;
    line-height: 1;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    width: 135px;
    min-width: 120px;
    padding: 6px;
}

.editor-dark #tools-div-popup {
    position: absolute;
    background: #252f39;
    right: auto;
    bottom: auto;
    list-style: none;
    z-index: 60;
    white-space: nowrap;
    color: #dee5f2;
    border: 1px solid #414d58;
    display: none;
}

.tools-button #tools-div-popup>ul {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.tools-button #tools-div-popup>ul>li {
    position: relative;
}

.editor-dark .tools-button #tools-div-popup>ul>li:hover {
    background: #303943;
}

.editor-dark .tools-button #tools-div-popup>ul>li>a {
    font-size: 15px;
    display: block;
    color: #dee5f2;
    line-height: 220%;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0 24px;
}

.tools-button>.separator-tools {
    /* margin: 1px; */
    /* width: 1px; */
    /* height: 30px; */
    display: block;
    float: left;
    vertical-align: top;
    /* background: #414d58; */
}

.tools-button>#heading-bth {
    font-size: 16px;
    text-align: center;
    width: 88px;
}

.editor-dark #editor-insertCode, #editor-insertLink, #editor-insertImage {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 901;
    background: rgba(0,0,0,0.35);
    -webkit-overflow-scrolling: touch;
    display: none;
}

.editor-dark #editor-insertCode>div, #editor-insertLink>div, #editor-insertImage>div {
    position: relative;
    margin: 20px auto 10px;
    width: 100%;
    max-width: 800px;
    background: #252f39;
    color: #dee5f2;
    border-width: 0;
    border-style: solid;
    border-top-color: #414d58;
    border-right-color: #414d58;
    border-bottom-color: #414d58;
    border-left-color: #414d58;
    border-radius: 8px;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,0.5);
    outline: none;
}

.editor-dark #editor-insertCode>div .titleIC, #editor-insertCode>div .titleLC, #editor-insertCode>div .titleII, #editor-insertLink>div .titleIC, #editor-insertLink>div .titleLC, #editor-insertLink>div .titleII, #editor-insertImage>div .titleIC, #editor-insertImage>div .titleLC, #editor-insertImage>div .titleII {
    padding: 16px;
    border-radius: 6px 6px 0 0;
    font-size: 1.1rem;
    font-weight: 200;
    justify-content: space-between;
    display: flex;
    align-items: center;
    color: #dee5f2;
    border-bottom: 1px solid #414d58;
    background-color: #343d47;
}

.insertCode-form, .insertLink-form, .insertImage-form {
    display: block;
    padding: 16px;
}

.editor-dark #editor-insertCode>div .buttonIC, #editor-insertCode>div .buttonLC, #editor-insertCode>div .buttonII, #editor-insertLink>div .buttonIC, #editor-insertLink>div .buttonLC, #editor-insertLink>div .buttonII, #editor-insertImage>div .buttonIC, #editor-insertImage>div .buttonLC, #editor-insertImage>div .buttonII {
    background: #343d47;
    padding: 10px 0;
    display: flex;
    border-radius: 0 0 6px 6px;
    justify-content: center;
    border-top: 1px solid #414d58;
    color: #000;
}

#editor-insertCode>div .titleIC i, #editor-insertCode>div .titleLC i, #editor-insertCode>div .titleII i, #editor-insertLink>div .titleIC i, #editor-insertLink>div .titleLC i, #editor-insertLink>div .titleII i, #editor-insertImage>div .titleIC i, #editor-insertImage>div .titleLC i, #editor-insertImage>div .titleII i {
    cursor: pointer;
    cursor-font-size: 19px;
    transition: color 0.1s linear;
}

.insertCode-form label, .insertLink-form label, .insertImage-form label {
    display: block;
    margin: 0 0 16px 0;
}

.insertCode-form label:last-of-type, .insertLink-form label:last-of-type, .insertImage-form label:last-of-type {
    margin: 0;
}

.editor-dark .insertCode-form label span, .insertLink-form label span, .insertImage-form label span {
    color: #dee5f2;
    margin: 0 0 3px 0;
    display: block;
    font-size: 0.900rem;
    text-align: justify;
}

.editor-dark .insertCode-form label input, .insertLink-form label input, .insertImage-form label input {
    font-size: 16px;
    color: #dee5f2;
    background: #303942;
    border: 1px solid #414d58;
    outline: none;
    font-weight: 400;
    line-height: 1.4;
    padding: 6px;
    display: block;
    width: 100%;
    border-radius: 6px;
    word-wrap: break-word;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.editor-dark .insertCode-form label textarea, .insertLink-form label textarea, .insertImage-form label textarea {
    height: 230px;
    font-size: 16px;
    color: #dee5f2;
    background: #303942;
    border: 1px solid #414d58;
    outline: none;
    font-weight: 400;
    resize: none;
    line-height: 1.4;
    padding: 6px;
    display: block;
    width: 100%;
    border-radius: 6px;
    word-wrap: break-word;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.editor-dark #editor-insertCode>div .buttonIC input, #editor-insertCode>div .buttonLC input, #editor-insertCode>div .buttonII input, #editor-insertLink>div .buttonIC input, #editor-insertLink>div .buttonLC input, #editor-insertLink>div .buttonII input, #editor-insertImage>div .buttonIC input, #editor-insertImage>div .buttonLC input, #editor-insertImage>div .buttonII input {
    color: #fff;
    border: none;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
    background: linear-gradient(#75acd0, #3a81af);
    font-size: 15px;
    text-align: center;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    width: 150px;
    min-width: 120px;
    padding: 10px;
}

.editor-dark #editor-content {
    width: 100%;
    border-radius: 0 0 3px 3px;
    margin: 0;
    font-size: 15px;
    color: #fbfbfb;
    transition: all 0.2s linear;
    padding: 9px 16px 13px 16px;
    overflow-x: auto;
	/*min-height: 60px;*/
    outline: none;
    /*border-top: 1px solid #414d58;*/
    background: #303943;
    white-space: pre-wrap;
    tab-size: 2;
}

#editor-content-out-area {
    display: none;
    opacity: 0;
    overflow: hidden;
}

.editor-dark #editor-content-area {
    width: 100%;
    border: none;
    border-radius: 0 0 6px 6px;
    outline: none;
    display: none;
    margin: 0;
    padding: 16px;
    transition: all 0.2s linear;
    font-size: 14px;
    color: #fff;
    background: #303943;
    resize: none;
    overflow-y: auto;
    height: 250px;
}

.pop-heading {
	margin: 1px 0 0 108px;
}

.pop-font {
	margin: 1px 0 0 307px;
}

.pop-size {
	margin: 1px 0 0 351px;
}

.pop-ellipsis {
	margin: 1px 0 0 505px;
}

.pop-hide {
	margin: 1px 0 0 547px;
}

.pop-align {
	margin: 1px 0 0 595px;
}

.pop-list {
	margin: 1px 0 0 639px;
}

.pop-image {
	margin: 9px 0 0 362px;
}

.pop-link {
	margin: 8px 0px 0px 288px;
}
